package com.database.service;

import com.database.bean.Tel;
import com.database.mapper.TelMapper;
import org.springframework.stereotype.Service;

@Service
public class TelService {
    final
    TelMapper telMapper;

    public TelService(TelMapper telMapper) {
        this.telMapper = telMapper;
    }
    public Tel getTelById(Long id){
        return telMapper.getTelById(id);
    }
}
